Work around #821235 to avoid undefined macro 'AQ' in some man pages
authorSimon McVittie <smcv@debian.org>
Sun, 17 Apr 2016 08:40:06 +0000 (09:40 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 17 Apr 2016 08:40:21 +0000 (09:40 +0100)
debian/changelog
debian/rules

index 050ede35ee4ce870352b3bd35f6dbb0408610b30..a40c693139b81466483f4294eeaa3fbdeebf1c11 100644 (file)
@@ -18,6 +18,7 @@ ostree (2016.5-1) UNRELEASED; urgency=medium
     positives
   * Run dh_auto_test with VERBOSE=1, to get logs with older debhelper
   * Build-depend on elfutils, for test-abi.sh
+  * Work around #821235 to avoid undefined macro 'AQ' in some man pages
 
  -- Simon McVittie <smcv@debian.org>  Mon, 28 Mar 2016 12:02:59 +0100
 
index f89209ef9f355fde29d61ba46d42863deae90bb4..1141b41ae33d2698cec84fbed802e0c8d7653b7b 100755 (executable)
@@ -35,6 +35,15 @@ override_dh_auto_test:
                pgrep lt-ostree | xargs --no-run-if-empty ps ww; \
        fi
 
+override_dh_auto_install:
+       dh_auto_install
+       # docbook-xsl capitalizes the whole heading, including the macro
+       # used to represent a single quote... https://bugs.debian.org/821235
+       sed -i -e 's,\*(AQ,*(Aq,g' \
+               debian/tmp/usr/share/man/man1/ostree-remote.1 \
+               debian/tmp/usr/share/man/man1/ostree-static-delta.1 \
+               $(NULL)
+
 override_dh_install:
        rm -f debian/tmp/usr/lib/*/*.la
        rm -f debian/tmp/usr/lib/installed-tests/ostree/*.la